package com.sunjy.demo1.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Auther: sunjy
 * @Date: 2018/10/18 17:30
 * @Description:
 */
@Data
@ConfigurationProperties(prefix = "redisson")
public class RedissonConfig {

    private String address;
    private String password;
    private Integer database;
    private int timeout;
    private int connectionMinimumIdleSize;
    private int connectionPoolSize;
}
